#ifndef ASGVIEWWIDGETIMP_H
#define ASGVIEWWIDGETIMP_H

#include <QWidget>
#ifdef ASGRAPHICSVIEW_LIB
#define ASGRAPHICSVIEW_EXPORT Q_DECL_EXPORT
#else 
#define ASGRAPHICSVIEW_EXPORT	Q_DECL_IMPORT
#endif


class ASGViewWidgetPrivate;

class ASGRAPHICSVIEW_EXPORT ASGViewWidget : public QWidget
{
	Q_OBJECT

public:
	explicit ASGViewWidget(QWidget *parent);
	virtual ~ASGViewWidget();

	void*			getScene();
	void			setSelected(bool	bSelected);
	bool			isSelected();
	void			loadImageData(const QString &strPath);
	void			loadImageData(const QByteArray &	data);
	void			registerToolBar(QWidget* pWidget);
protected:
	void			paintEvent(QPaintEvent *event);
	bool			event( QEvent * e  );


private:
	ASGViewWidgetPrivate* _pPrivateData;

protected slots:
	void			changeScreenStatusSlot(int);

};

#ifndef ASGRAPHICSVIEW_LIB
#pragma  comment(lib,"ASGraphicsView.lib")
#endif

#endif // ASGVIEWWIDGETIMP_H
